package com.laiyw.monitor.core.context;

import java.lang.reflect.Method;
import java.lang.reflect.Parameter;

/**
 * @Description:
 * @Auther: Laiyw
 * @Date: 2018/10/5 21:08
 */
public class InvokeInfo {

    private String path;
    private Object instance;
    private Method method;
    private Parameter[] parameters;

    public InvokeInfo(String path, Object instance, Method method, Parameter[] parameters) {
        this.path = path;
        this.instance = instance;
        this.method = method;
        this.parameters = parameters;
    }

    public String getPath() {
        return path;
    }

    public void setPath(String path) {
        this.path = path;
    }

    public Object getInstance() {
        return instance;
    }

    public void setInstance(Object instance) {
        this.instance = instance;
    }

    public Method getMethod() {
        return method;
    }

    public void setMethod(Method method) {
        this.method = method;
    }

    public Parameter[] getParameters() {
        return parameters;
    }

    public void setParameters(Parameter[] parameters) {
        this.parameters = parameters;
    }
}
